package com.sxhuangjiang.litadmin.admin.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author sxhuangjiang
 * @since 2019-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户名/登录名
     */
    private String username;

    /**
     * 登录密码
     */
    private String password;

    /**
     * 昵称/别称
     */
    private String nickname;

    /**
     * 角色编号
     */
    private Integer role;

    /**
     * 创建时间
     */
    private LocalDateTime createDate;

    /**
     * 修改时间
     */
    private LocalDateTime updateDate;

    /**
     * 逻辑删除值：1是已删除，0是未删除
     */
    private Integer del;


}
